package com.qianyu.core.entity.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author wangzhicheng
 * @date 2024/1/22 14:48
 * @description TODO
 */
@Data
@ApiModel(value = "基础id请求实体")
public class BaseIdDto {
    @ApiModelProperty(value = "主键id")
    @NotNull(message = "主键id不能为空")
    private Long id;
}
